@import "common.styl"
@import "vars.styl"

.section
  margin-bottom 20px
  h2
    text-align center
    padding 50px 0
    font-size 20px

.question
  .question-item
    width 325px
    margin-right 112px
    box-shadow 0 0 20px 0 rgba(0, 0, 0, 0.5)
    &:last-child
      margin-right 0
    img
      width 100%
      height 200px
      object-fit cover
    dl
      dt
        text-align center
        padding 30px 0
        font-size 18px
      dd
        padding 0 20px 30px
        line-height 1.75

.core
  .core-item
    width 252px
    margin-right 64px
    box-sizing border-box
    &:last-child
      margin-right 0
    h3
      padding 0 0 20px
      position relative
      font-size 18px
      margin-bottom 20px
      &:after
        content ''
        position absolute
        left 50%
        bottom 0
        width 60px
        height 1px
        background-color $lightColor
        transform translateX(-50%)
    p
      line-height 1.75


.advantage
  .advantage-item
    width 300px
    text-align center
    p
      display inline-block
      width 80px
      height 80px
      line-height 80px
      border-radius 100%
      text-align center
      background-color $primaryColor
      i
        font-size 32px
        color #fff
    dl
      width 252px
      margin 0 auto
      dt
        padding 20px 0
        font-size 18px
      dd
        line-height 1.75

.why
  background-image url("http://pimg.51759.com/why-bg.png")
  background-repeat no-repeat
  background-position center
  background-size cover
  height 545px
  width 100%
  position relative
  .vs
    background-image url("http://pimg.51759.com/vs.png")
    background-repeat no-repeat
    background-position center
    background-size cover
    height 545px
    position relative
    width 700px
    h3
      position absolute
      top 200px
      font-size 20px
      color #fff
      width 20px
      line-height 1.5
      font-weight bold
    .staff-h3
      left 100px
    .robot-h3
      right 100px
  .why-item
    width 240px
    h3
      position absolute
      top 200px
      font-size 20px
      color #fff
      width 20px
      line-height 1.5
      font-weight bold
    ul
      margin-top 110px
      li
        overflow hidden
        color #fff
        line-height 40px
        font-size 16px
  .staff
    h3
      left 680px
  .robot
    h3
      right 680px




